package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName 充电桩智能终端上报账户查询命令0x70
 * @Description:
 * @Date 2021/5/11  17:17
 * @Author zyd
 */
@Component
public class ChargeAccountSelectMsg0x70 {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    public static String cardNumber;
    public static String credentialsType;
    public static String credentialsNumber;
    public static String acceptanceChannel;
    public static String issueOrganizationSerialNumber;
    public static String issueOrganizationCode;
    public static String operatorNumber;
    public static String transactionTime;
    public static String payPassword;
    public static String serviceChargeFlag;
    public static String serviceAmount;
    public static String msgAuthCode;


    @Value("${message.chargeAccountSelectMsg.version-domain}")
    public void setVersionDomain(String versionDomain) {
        ChargeAccountSelectMsg0x70.versionDomain = versionDomain;
    }

    @Value("${message.chargeAccountSelectMsg.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        ChargeAccountSelectMsg0x70.serialNumberDomain = serialNumberDomain;
    }

    @Value("${message.chargeAccountSelectMsg.command-code}")
    public void setCommandCode(String commandCode) {
        ChargeAccountSelectMsg0x70.commandCode = commandCode;
    }

    @Value("${message.chargeAccountSelectMsg.user-id}")
    public void setUserId(String userId) {
        ChargeAccountSelectMsg0x70.userId = userId;
    }

    @Value("${message.chargeAccountSelectMsg.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        ChargeAccountSelectMsg0x70.instructionsNumber = instructionsNumber;
    }

    @Value("${message.chargeAccountSelectMsg.card-number}")
    public void setCardNumber(String cardNumber) {
        ChargeAccountSelectMsg0x70.cardNumber = cardNumber;
    }

    @Value("${message.chargeAccountSelectMsg.credentials-type}")
    public void setCredentialsType(String credentialsType) {
        ChargeAccountSelectMsg0x70.credentialsType = credentialsType;
    }

    @Value("${message.chargeAccountSelectMsg.credentials-number}")
    public void setCredentialsNumber(String credentialsNumber) {
        ChargeAccountSelectMsg0x70.credentialsNumber = credentialsNumber;
    }

    @Value("${message.chargeAccountSelectMsg.acceptance-channel}")
    public void setAcceptanceChannel(String acceptanceChannel) {
        ChargeAccountSelectMsg0x70.acceptanceChannel = acceptanceChannel;
    }

    @Value("${message.chargeAccountSelectMsg.issue-organization-serial-number}")
    public void setIssueOrganizationSerialNumber(String issueOrganizationSerialNumber) {
        ChargeAccountSelectMsg0x70.issueOrganizationSerialNumber = issueOrganizationSerialNumber;
    }

    @Value("${message.chargeAccountSelectMsg.issue-organization-code}")
    public void setIssueOrganizationCode(String issueOrganizationCode) {
        ChargeAccountSelectMsg0x70.issueOrganizationCode = issueOrganizationCode;
    }

    @Value("${message.chargeAccountSelectMsg.operator-number}")
    public void setOperatorNumber(String operatorNumber) {
        ChargeAccountSelectMsg0x70.operatorNumber = operatorNumber;
    }

    @Value("${message.chargeAccountSelectMsg.transaction-time}")
    public void setTransactionDateTime(String transactionTime) {
        ChargeAccountSelectMsg0x70.transactionTime = transactionTime;
    }

    @Value("${message.chargeAccountSelectMsg.pay-password}")
    public void setPayPassword(String payPassword) {
        ChargeAccountSelectMsg0x70.payPassword = payPassword;
    }

    @Value("${message.chargeAccountSelectMsg.service-charge-flag}")
    public void setServiceChargeFlag(String serviceChargeFlag) {
        ChargeAccountSelectMsg0x70.serviceChargeFlag = serviceChargeFlag;
    }

    @Value("${message.chargeAccountSelectMsg.service-amount}")
    public void setServiceAmount(String serviceAmount) {
        ChargeAccountSelectMsg0x70.serviceAmount = serviceAmount;
    }

    @Value("${message.chargeAccountSelectMsg.msg-auth-code}")
    public void setMsgAuthCode(String msgAuthCode) {
        ChargeAccountSelectMsg0x70.msgAuthCode = msgAuthCode;
    }
}
